#include<iostream>
using namespace std;
int main()
{
	int a, b, c;
    float d;
	cin >> a >> b >> c;
	d = a + b + c;
	cout << "Sum is " << d << endl;
	cout << "Average is ";
	printf("%.1f\n", d / 3);
	cout <<"Product is "<< a * b * c << endl;
	cout <<"Smallest is "<< min(min(a, b),c) << endl;
	cout << "Largest is " << max(max(a, b),c);


	return 0;
}